﻿<Window x:Class="ButtonClicks"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Button Clicks" Height="293" Width="430">
    <Grid ButtonBase.Click="gridLayoutRoot_Button_Click" x:Name="gridLayoutRoot" Background="LightYellow">
        <StackPanel Button.Click="Top_StackPanel_Button_Click" Margin="12,56,12,0" Name="Top_StackPanel" Orientation="Horizontal" Height="57" VerticalAlignment="Top" Background="LightPink">
            <Label Height="30" FontSize="16" Width="148">Top StackPanel</Label>
            <Button Name="Button1" VerticalAlignment="Center" Margin="3.5">Button 1</Button>
            <Button Name="Button2" VerticalAlignment="Center" Margin="3.5">Button 2</Button>
            <Button Name="Button3" VerticalAlignment="Center" Margin="3.5">Button 3</Button>
        </StackPanel>
        <StackPanel Button.Click="Bottom_StackPanel_Button_Click" Margin="12,0,12,38" Name="Bottom_StackPanel" Background="LightGray" Height="74" VerticalAlignment="Bottom" Orientation="Horizontal">
            <Label Height="31" Name="Label1" FontSize="16" Width="149">Bottom StackPanel</Label>
            <Button Height="23" Name="btnLoneRanger" Width="92">Lone Ranger</Button>
        </StackPanel>
    </Grid>
</Window>
